package com.jiutong.meipenggang.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author Veken
 * @date on 2017/12/18 10:49
 * @describe
 */

public class TimeUitl {

    public static String getDate(){
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
//        String time=sdf.format(date);
        long time = System.currentTimeMillis();
        return sdf.format(time);
    }
}
